package com.itheima.service.impl;

import com.itheima.dao.WebConfigMapper;
import com.itheima.pojo.WebConfig;
import com.itheima.service.WebConfigService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class WebConfigServiceImpl implements WebConfigService {
    @Autowired
    private WebConfigMapper webConfigMapper;

    @Override
    public List<WebConfig> findWebConfig() {
        return webConfigMapper.selectAll();
    }
}
